package com.jxmcloud.business.cut.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xlcloud.platform.util.DateUtil;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.time.LocalDateTime;

/**
 * 已成功邀请用户视图对象
 */
@Data
@ToString
public class InviteSuccessVo implements Serializable {
    //活动id
    private Integer activityId;
    //被邀请玄乐用户id
    private Integer invitedXlId;
    //被邀请玄乐账号
    private String invitedAccount;
    //被邀请人姓名
    private String invitedName;
    //被邀请玄乐头像
    private String invitedIcon;
    //邀请时间
    @DateTimeFormat(pattern = DateUtil.FMT_YYYYMMDD_HHmmss_ZG)
    @JsonFormat(pattern = DateUtil.FMT_YYYYMMDD_HHmmss_ZG, timezone = DateUtil.TZ_GMT8)
    @JSONField(format = DateUtil.FMT_YYYYMMDD_HHmmss_ZG)
    private Date invitedTime;
    //回应时间
    @DateTimeFormat(pattern = DateUtil.FMT_YYYYMMDD_HHmmss_ZG)
    @JsonFormat(pattern = DateUtil.FMT_YYYYMMDD_HHmmss_ZG, timezone = DateUtil.TZ_GMT8)
    @JSONField(format = DateUtil.FMT_YYYYMMDD_HHmmss_ZG)
    private Date respTime;
    //用户类型(是否是新用户) 0:老用户 1:新用户
    private Integer userType;
    //类型参数(评判新用户的参数)
    private String typeParam;
    //邀请的模块ID
    private Integer invitedModuleId;
    //玄乐账号
    private String account;
    //用户昵称
    private String nickName;

}